home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Misc / Wood.0.72 / Sources / TreeView.h < prev    next >
Encoding:
Text File  |  1995-07-27  |  890 b   |  40 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import "UPath.h"
  4. #import "HitPath.h"
  5. #import "Tree.h"
  6.  
  7. @interface TreeView:View
  8. {
  9.     UPath *linkPath, *canvasPath;
  10.     HitPath *hitPath;
  11.     id nodeList, agent;
  12.     DrawState drawState;
  13.     BOOL pbConversion;
  14.     Tree *pbTree;
  15.     NXRect canvasRect;
  16.     int xTimes, yTimes;
  17. }
  18.  
  19. - initFrame:(const NXRect *)frameRect;
  20. - free;
  21. - (BOOL)lockFocus;
  22. - drawSelf:(const NXRect *)r :(int)count;
  23. - drawYourSelf:(const NXRect *)r;
  24. - drawTree:tree inRect:(const NXRect *)r;
  25. - mouseDown:(NXEvent *)event;
  26. - keyDown:(NXEvent *)event;
  27. - (BOOL)checkResize:(const NXRect *)r for:tree;
  28. - setAgent:aAgent;
  29. - agent;
  30. - writePSToStream:(NXStream *)stream usingTree:aTree;
  31. - (BOOL)zoomTo:(float)zoomX :(float)zoomY;
  32. - (BOOL)acceptsFirstResponder;
  33. - (int)canvasX;
  34. - (int)canvasY;
  35. - (BOOL)knowsPagesFirst:(int *)firstPageNum last:(int *)lastPageNum;
  36. - (BOOL)getRect:(NXRect *)theRect forPage:(int)page;
  37.  
  38. @end
  39.  
  40.